#include "stdafx.h"
#include "ST_DataManager.h"

ST_DataManager::ST_DataManager()
{
}

ST_DataManager::~ST_DataManager()
{
}

void ST_DataManager::SetCurAccount(const char* pszAccount)
{
	if(pszAccount != NULL)
	{
		m_sAccount = pszAccount;
	}
}
const char* ST_DataManager::GetCurAccount() const
{
	return m_sAccount.c_str();
}

void ST_DataManager::SetCurUserID(int iID)
{
	m_iID = iID;
}

int	ST_DataManager::GetCurUserID()
{
	return m_iID;
}

void ST_DataManager::SetCurUserPrivilege(int iPrivilege)
{
	m_iPrivilege = iPrivilege;
}

int	ST_DataManager::GetCurUserPrivilege()
{
	return m_iPrivilege;
}